<div class="users form">

	<h3><?php print __('Create User'); ?></h3>
	
	<?php print $this->Form->create('User', array('type' => 'file')); ?>
		<fieldset>
			<?php
				echo $this->Form->input('name', array('label' => __('Name')), array('escape' => false));
				echo $this->Form->input('email', array('label' => __('Email')), array('escape' => false));
				echo $this->Form->input('picture', array('type' => 'file', 'label' => __('Picture'), 'size' => 60), array('escape' => false));
			?>
			<div>
				<input type="submit" value="<?php echo __('Save'); ?>" class="submit" />
				<a href="<?php echo $this->Html->url(array('action' => 'index')); ?>" class="button"><?php echo __('Cancel'); ?></a>
			</div>
		</fieldset>
	<?php print $this->Form->end(); ?>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		$(".users form").validate(formValidations.User);
	});
</script>
